package com.jiangsong.jdbc;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class ClientPreparedStatement {

    private static final Logger log = LoggerFactory.getLogger(ClientPreparedStatement.class);

    public Object execute(String name) {
        log.info("TestService#test#{}", name);
        if (name.length() > 6) {
            throw new RuntimeException("name is too long");
        }
        return "name is " + name;
    }


}
